package cn.wolfcode.ssm.mapper;

import cn.wolfcode.ssm.domain.Department;
import cn.wolfcode.ssm.query.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void updateByPrimaryKey(Department record);

    int totalCount(QueryObject qo);

    List<Department> list(QueryObject qo);
}